from django.urls import path
from rest_framework.routers import DefaultRouter

from apps.user import views
urlpatterns = [
    # path('get_token/',views.JwtView.as_view(),name='get_token'),
]

router = DefaultRouter()
router.register('',views.EnterViewSet,basename='enters')
router.register('login',views.LoginViewSet,basename='login')
router.register('user',views.SetUserInfoViewSet,basename='user')

urlpatterns += router.urls